package product_controller

import (
	"go_essential/common/response"

	"github.com/gin-gonic/gin"
)

func GetProductList(c *gin.Context) {
	response.Success(c, gin.H{"list": []string{"product1", "product2", "product3"}}, "请求成功")
	// c.JSON(200, gin.H{
	// 	"code":    200,
	// 	"message": "请求成功",
	// 	"data": gin.H{
	// 		"list": []string{"product1", "product2", "product3"},
	// 	},
	// })
}
